<?php
if(isset($buttonExport)){
echo "<script language=\"javascript\">
            function exportData(){
                location.href = '" . base_url() . "index.php/" . $this->router->class . '/' . $this->router->method . '/exp?' . $_SERVER["QUERY_STRING"] . "';
            }
        </script>
	<a href=\"#\" onclick=\"javascript:exportData()\" class=\"report\" title=\"Export Data\" target='_parent'>&nbsp;</a>
	 ";
};
echo "<a href=\"#\" class=\"search\" title=\"Cari Data\">&nbsp;</a>";
echo "<a href=\"" . $this->input->server("REQUEST_URI") . '" class="refresh" title="Muat Ulang">&nbsp;</a>';

//preg_replace('/\?.*/', '', $this->input->server("REQUEST_URI"));
?>